<template>
  <div>
    <el-row>
      <el-col :span="12">
        <el-form-item label="订单号">
          <el-input v-model="messageData.orderNumber" auto-complete="off" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="申请时间">
          <el-input v-model="messageData.addTime" auto-complete="off" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="12">

        <el-form-item label="订单状态">
          <el-input v-model="messageData.orderStatusVO" auto-complete="off" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="订单类型">
          <el-input v-model="messageData.typeCH" auto-complete="off" disabled></el-input>
        </el-form-item>
      </el-col>
    </el-row>



    <el-form-item label="经销商名称">
      <el-input v-model="messageData.dealerInfoVO.name" auto-complete="off" disabled></el-input>
    </el-form-item>
    <el-form-item label="汽车车型">
      <el-input v-model="messageData.carBrandName" auto-complete="off" :disabled="true"></el-input>
    </el-form-item>

    <el-row>
        <el-col :span="12">
      <el-form-item label="汽车数量">
        <el-input v-model="messageData.amount" auto-complete="off" :disabled="true"></el-input>
      </el-form-item>
       </el-col>
      <el-col :span="12">

        <el-form-item label="汽车颜色">
          <el-input v-model="messageData.color" auto-complete="off" :disabled="true"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-form-item label="购车总价格" class="currency">
      <el-input :value="messageData.totalPrice|toFixed2" auto-complete="off" :disabled="true"></el-input>
      <span class="convertCurrency">{{messageData.totalPrice|convertCurrency}}</span>
    </el-form-item>
    <el-form-item label="垫资金额" class="currency">
      <el-input :value="messageData.paymentAmount|toFixed2" auto-complete="off" :disabled="true"></el-input>
      <span class="convertCurrency">{{messageData.paymentAmount|convertCurrency}}</span>
    </el-form-item>
    <el-form-item label="定金金额" class="currency">
      <el-input :value="messageData.earnest|toFixed2" auto-complete="off" :disabled="true"></el-input>
      <span class="convertCurrency">{{messageData.earnest|convertCurrency}}</span>
    </el-form-item>
    <el-form-item label="保证金金额" class="currency">
      <el-input :value="messageData.deposit|toFixed2" auto-complete="off" :disabled="true"></el-input>
      <span class="convertCurrency">{{messageData.deposit|convertCurrency}}</span>
    </el-form-item>
    <el-row>
      <el-col :span="12">
        <el-form-item label="垫资比例" prop="earnest">
          <el-input type="text" :value="(((messageData.paymentAmount-0)/(messageData.totalPrice-0)*100).toFixed(2))+'%'" min="0" max="99999999"
            auto-complete="off" disabled></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="当前利率">
          <el-input :value="(messageData.interestRate||''-0).toFixed(4)" auto-complete="off" :disabled="true"></el-input>
        </el-form-item>
      </el-col>
    </el-row>



    <el-row>
      <el-col :span="12">
        <el-form-item label="借款时长" prop="durationId">
          <el-input v-model="messageData.description" auto-complete="off" :disabled="true"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="地推员">
          <el-input v-model="messageData.dituiUser" auto-complete="off" :disabled="true"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-form-item label="业务员">
      <el-input v-model="messageData.yewuUser" auto-complete="off" disabled></el-input>
    </el-form-item>
    <el-form-item label="指导价/配置">
      <el-input type="textarea" :rows=3 v-model="messageData.carConfig" auto-complete="off" :disabled="true"></el-input>
    </el-form-item>
    <el-form-item label="价格审核备注">
      <el-input type="textarea" :rows=3 v-model="messageData.priceRemark" auto-complete="off" disabled></el-input>
    </el-form-item>
    <el-form-item label="补充说明">
      <el-input type="textarea" :rows=3 v-model="messageData.supplementExplain" auto-complete="off" disabled ></el-input>
    </el-form-item>
  </div>

</template>

<script>
  export default {
    data() {
      return {

      }
    },
    props: ['messageData']
  }
</script>
